<!DOCTYPE html>
<html lang="en"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>MyPetstore</title>
</head>
<body>
<div th:replace="common/admintop"></div>
<div id="Content">
    <div id="Welcome">
        <div id="WelcomeContent">

            <span>
                Welcome, <span th:text="${loginAdmin.id}"></span>
            </span>

        </div>
    </div>

    <div id="Main" align="center">
        Please select the service:
        <br/><br/>
        <a th:href="@{/admin/viewProducts(pageNum = 1)}" class="mybutton"> Product Management </a>
        <br/><br/>
        <a href="/admin/viewUsers" class="mybutton"> Account Management </a>
        <br/><br/>
        <a href="/admin/viewOrders" class="mybutton">  Order Management  </a>
        <br/><br/>
        <a href="/admin/quit" class="mybutton">  Quit  </a>
        <br/><br/>
    </div>

</div>
<div th:replace="common/bottom"></div>
</body>
</html>